package com.tupu.mapper.permission;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tupu.entity.permission.RoleInfo;
import org.apache.ibatis.annotations.Select;

public interface RoleMapper extends BaseMapper<RoleInfo> {

    @Select("select count(*) from role_list where role_name = #{roleName}")
    Integer findCountByname(String roleName);
}
